<template>
  <div class="home">
    <Search :mess = "mess"></Search>
    <h3 @click = "fn">首页</h3>
    <TabBar></TabBar>
  </div>
</template>

<script>
// @ is an alias to /src
import instance from '@/api/api.js'
import TabBar from '@/components/TabBar.vue'
import Search from '@/components/Search.vue'
export default {
  name: "HomeView",
  data(){
    return {
      mess:"首页搜索"
    }

  },
  components: {
    TabBar,
    Search
  },
  methods:{
   fn(){
     console.log(11)
     console.log(this.$store)
   }
  }
};
</script>
<style lang="less" scoped >
  
</style>
